projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d8ae74
)
wayland: Protocol change: ping event on shell_surface
author
Rob Bradford
<rob@linux.intel.com>
Wed, 11 Jul 2012 13:15:04 +0000
(14:15 +0100)
committer
Rob Bradford
<rob@linux.intel.com>
Thu, 12 Jul 2012 14:58:37 +0000
(15:58 +0100)
gdk/wayland/gdkwindow-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkwindow-wayland.c
b/gdk/wayland/gdkwindow-wayland.c
index ff3b92b550697ca1ba86f9641bc7b949b48f4405..a0e2d7ec9fdd50de3097db5ebeccf76852d99e6f 100644
(file)
--- a/
gdk/wayland/gdkwindow-wayland.c
+++ b/
gdk/wayland/gdkwindow-wayland.c
@@
-685,7
+685,16
@@
shell_surface_popup_done (void *data,
gdk_window_hide (window);
}
+static void
+shell_surface_ping (void *data,
+ struct wl_shell_surface *shell_surface,
+ uint32_t serial)
+{
+ wl_shell_surface_pong(shell_surface, serial);
+}
+
static const struct wl_shell_surface_listener shell_surface_listener = {
+ shell_surface_ping,
shell_surface_handle_configure,
shell_surface_popup_done
};